﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Index.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>数据库清单</title>
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/layer/layer.js"></script>
<link href="/css/css.css" rel="stylesheet" type="text/css" />  

</head>
<body>
        <form id="form1" runat="server">
    <div>
    
    <div style="width:500px;text-align:center;font-size:14px;">
		    <h1><font color=red>数据库清单</font></h1> 
    </div>
      <asp:Repeater runat="server" ID="rptTblList" >
                <HeaderTemplate>
<table cellspacing="0" cellpadding="2" class="tblList" style="width:500px">
     <thead>
	 <tr> 
		<td class="tdListTop">序号 </td>
		<td class="tdListTop">数据库名</td>
		<td class="tdListTop">操作</td>
	 </tr>   
     </thead>                
     <tbody>
        </HeaderTemplate>
        <ItemTemplate>
 	<tr> 
		<td  class="tdList"><%# Container.ItemIndex+1 %></td>
		<td class="tdList"><%# Eval("dbname")%></td>
		<td class="tdList">
            <a target="_blank" href="/sqlFields.aspx?print=1&dbname=<%# Eval("dbname")%>">查看</a>

            <a target="_blank" href="/default.aspx?dbname=<%# Eval("dbname")%>">编辑</a>

		</td>
		
	</tr>
        </ItemTemplate>
        <FooterTemplate>
            </tbody>
</table>
        </FooterTemplate>
    </asp:Repeater>


    </div>
    </form>
</body>
</html>
